import { SourceVO } from '~/types/SourceVO'

export default defineEventHandler(async (event) => {
  const config = await useStorage<SourceVO>().getItem('source') as SourceVO
  return await $fetch(config?.url, { query: getQuery(event) }) as any
})
